﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _04交换两个变量的值
{
    class Program
    {
        static void Main(string[] args)
        {
            int j = 10;
            int k = 5;
            int temp;
            temp = j;
            j = k;
            k = temp;
            Console.WriteLine("j={0},k={1}",j,k);
            Console.ReadKey();
        }
    }
}
